/* Copyright (C) 2010 Albert Faber.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.  */


#ifndef JAL_LEX_H
#define JAL_LEX_H

void init_jal_lex (void);
void jal_lex_dump_time_statistics (void);
void jal_fe_file_change (const struct line_map *new_map);
enum cpp_ttype jal_lex_with_flags (tree *value, location_t *loc, unsigned char *cpp_flags, int lex_flags);

enum cpp_ttype jal_lex_next_token_loc(tree *value, location_t *loc, unsigned char *cpp_flags, int lex_flags);
void jal_lex_token_test(void);
void jal_lexer_init(void);


#endif
